package com.ecoolex.hotel.saas.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class SalesUserWalletExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public SalesUserWalletExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public SalesUserWalletExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public SalesUserWalletExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        SalesUserWalletExample example = new SalesUserWalletExample();
        return example.createCriteria();
    }

    public SalesUserWalletExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public SalesUserWalletExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public SalesUserWalletExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public SalesUserWalletExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public SalesUserWalletExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andWalletIdIsNull() {
            addCriterion("salesuserwallet.WalletId is null");
            return (Criteria) this;
        }

        public Criteria andWalletIdIsNotNull() {
            addCriterion("salesuserwallet.WalletId is not null");
            return (Criteria) this;
        }

        public Criteria andWalletIdEqualTo(Integer value) {
            addCriterion("salesuserwallet.WalletId =", value, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WalletId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWalletIdNotEqualTo(Integer value) {
            addCriterion("salesuserwallet.WalletId <>", value, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WalletId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWalletIdGreaterThan(Integer value) {
            addCriterion("salesuserwallet.WalletId >", value, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WalletId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWalletIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("salesuserwallet.WalletId >=", value, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WalletId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWalletIdLessThan(Integer value) {
            addCriterion("salesuserwallet.WalletId <", value, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WalletId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWalletIdLessThanOrEqualTo(Integer value) {
            addCriterion("salesuserwallet.WalletId <=", value, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WalletId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWalletIdIn(List<Integer> values) {
            addCriterion("salesuserwallet.WalletId in", values, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdNotIn(List<Integer> values) {
            addCriterion("salesuserwallet.WalletId not in", values, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdBetween(Integer value1, Integer value2) {
            addCriterion("salesuserwallet.WalletId between", value1, value2, "walletId");
            return (Criteria) this;
        }

        public Criteria andWalletIdNotBetween(Integer value1, Integer value2) {
            addCriterion("salesuserwallet.WalletId not between", value1, value2, "walletId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("salesuserwallet.UserId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("salesuserwallet.UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("salesuserwallet.UserId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("salesuserwallet.UserId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("salesuserwallet.UserId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("salesuserwallet.UserId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("salesuserwallet.UserId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("salesuserwallet.UserId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("salesuserwallet.UserId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("salesuserwallet.UserId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("salesuserwallet.UserId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("salesuserwallet.UserId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNull() {
            addCriterion("salesuserwallet.StoreId is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("salesuserwallet.StoreId is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(Integer value) {
            addCriterion("salesuserwallet.StoreId =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.StoreId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(Integer value) {
            addCriterion("salesuserwallet.StoreId <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.StoreId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(Integer value) {
            addCriterion("salesuserwallet.StoreId >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.StoreId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("salesuserwallet.StoreId >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.StoreId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(Integer value) {
            addCriterion("salesuserwallet.StoreId <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.StoreId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(Integer value) {
            addCriterion("salesuserwallet.StoreId <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.StoreId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<Integer> values) {
            addCriterion("salesuserwallet.StoreId in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<Integer> values) {
            addCriterion("salesuserwallet.StoreId not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(Integer value1, Integer value2) {
            addCriterion("salesuserwallet.StoreId between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(Integer value1, Integer value2) {
            addCriterion("salesuserwallet.StoreId not between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtIsNull() {
            addCriterion("salesuserwallet.TotalSalesAmt is null");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtIsNotNull() {
            addCriterion("salesuserwallet.TotalSalesAmt is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.TotalSalesAmt =", value, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.TotalSalesAmt = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtNotEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.TotalSalesAmt <>", value, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.TotalSalesAmt <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtGreaterThan(BigDecimal value) {
            addCriterion("salesuserwallet.TotalSalesAmt >", value, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.TotalSalesAmt > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.TotalSalesAmt >=", value, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.TotalSalesAmt >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtLessThan(BigDecimal value) {
            addCriterion("salesuserwallet.TotalSalesAmt <", value, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.TotalSalesAmt < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.TotalSalesAmt <=", value, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.TotalSalesAmt <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.TotalSalesAmt in", values, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtNotIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.TotalSalesAmt not in", values, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.TotalSalesAmt between", value1, value2, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andTotalSalesAmtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.TotalSalesAmt not between", value1, value2, "totalSalesAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtIsNull() {
            addCriterion("salesuserwallet.CashOutAmt is null");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtIsNotNull() {
            addCriterion("salesuserwallet.CashOutAmt is not null");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutAmt =", value, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutAmt = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutAmtNotEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutAmt <>", value, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutAmt <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutAmtGreaterThan(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutAmt >", value, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutAmt > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutAmtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutAmt >=", value, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutAmt >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutAmtLessThan(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutAmt <", value, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutAmt < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutAmtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutAmt <=", value, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutAmt <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutAmtIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.CashOutAmt in", values, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtNotIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.CashOutAmt not in", values, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.CashOutAmt between", value1, value2, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutAmtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.CashOutAmt not between", value1, value2, "cashOutAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtIsNull() {
            addCriterion("salesuserwallet.BalanceAmt is null");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtIsNotNull() {
            addCriterion("salesuserwallet.BalanceAmt is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.BalanceAmt =", value, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.BalanceAmt = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBalanceAmtNotEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.BalanceAmt <>", value, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.BalanceAmt <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBalanceAmtGreaterThan(BigDecimal value) {
            addCriterion("salesuserwallet.BalanceAmt >", value, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.BalanceAmt > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBalanceAmtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.BalanceAmt >=", value, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.BalanceAmt >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBalanceAmtLessThan(BigDecimal value) {
            addCriterion("salesuserwallet.BalanceAmt <", value, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.BalanceAmt < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBalanceAmtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.BalanceAmt <=", value, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.BalanceAmt <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBalanceAmtIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.BalanceAmt in", values, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtNotIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.BalanceAmt not in", values, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.BalanceAmt between", value1, value2, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andBalanceAmtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.BalanceAmt not between", value1, value2, "balanceAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtIsNull() {
            addCriterion("salesuserwallet.WaitInAccountAmt is null");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtIsNotNull() {
            addCriterion("salesuserwallet.WaitInAccountAmt is not null");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.WaitInAccountAmt =", value, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WaitInAccountAmt = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtNotEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.WaitInAccountAmt <>", value, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WaitInAccountAmt <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtGreaterThan(BigDecimal value) {
            addCriterion("salesuserwallet.WaitInAccountAmt >", value, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WaitInAccountAmt > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.WaitInAccountAmt >=", value, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WaitInAccountAmt >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtLessThan(BigDecimal value) {
            addCriterion("salesuserwallet.WaitInAccountAmt <", value, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WaitInAccountAmt < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.WaitInAccountAmt <=", value, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.WaitInAccountAmt <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.WaitInAccountAmt in", values, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtNotIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.WaitInAccountAmt not in", values, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.WaitInAccountAmt between", value1, value2, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andWaitInAccountAmtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.WaitInAccountAmt not between", value1, value2, "waitInAccountAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtIsNull() {
            addCriterion("salesuserwallet.CashOutFrozenAmt is null");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtIsNotNull() {
            addCriterion("salesuserwallet.CashOutFrozenAmt is not null");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutFrozenAmt =", value, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutFrozenAmt = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtNotEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutFrozenAmt <>", value, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutFrozenAmt <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtGreaterThan(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutFrozenAmt >", value, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutFrozenAmt > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutFrozenAmt >=", value, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutFrozenAmt >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtLessThan(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutFrozenAmt <", value, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutFrozenAmt < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("salesuserwallet.CashOutFrozenAmt <=", value, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CashOutFrozenAmt <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.CashOutFrozenAmt in", values, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtNotIn(List<BigDecimal> values) {
            addCriterion("salesuserwallet.CashOutFrozenAmt not in", values, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.CashOutFrozenAmt between", value1, value2, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andCashOutFrozenAmtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("salesuserwallet.CashOutFrozenAmt not between", value1, value2, "cashOutFrozenAmt");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("salesuserwallet.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("salesuserwallet.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("salesuserwallet.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("salesuserwallet.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("salesuserwallet.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("salesuserwallet.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("salesuserwallet.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("salesuserwallet.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("salesuserwallet.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("salesuserwallet.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("salesuserwallet.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("salesuserwallet.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("salesuserwallet.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("salesuserwallet.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("salesuserwallet.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("salesuserwallet.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("salesuserwallet.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("salesuserwallet.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("salesuserwallet.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("salesuserwallet.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("salesuserwallet.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("salesuserwallet.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("salesuserwallet.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("salesuserwallet.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("salesuserwallet.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("salesuserwallet.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("salesuserwallet.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("salesuserwallet.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("salesuserwallet.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("salesuserwallet.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("salesuserwallet.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("salesuserwallet.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("salesuserwallet.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("salesuserwallet.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("salesuserwallet.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("salesuserwallet.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("salesuserwallet.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("salesuserwallet.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("salesuserwallet.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("salesuserwallet.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("salesuserwallet.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("salesuserwallet.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("salesuserwallet.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("salesuserwallet.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("salesuserwallet.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("salesuserwallet.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("salesuserwallet.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("salesuserwallet.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("salesuserwallet.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("salesuserwallet.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("salesuserwallet.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("salesuserwallet.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("salesuserwallet.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("salesuserwallet.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("salesuserwallet.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("salesuserwallet.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("salesuserwallet.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("salesuserwallet.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("salesuserwallet.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("salesuserwallet.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(SalesUserWallet.Column column) {
            addCriterion(new StringBuilder("salesuserwallet.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("salesuserwallet.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("salesuserwallet.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("salesuserwallet.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("salesuserwallet.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private SalesUserWalletExample example;

        protected Criteria(SalesUserWalletExample example) {
            super();
            this.example = example;
        }

        public SalesUserWalletExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(SalesUserWallet.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(SalesUserWallet.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.hotel.saas.entity.SalesUserWalletExample example);
    }
}